package com.moran.beetlsql.learn.controller;

import com.moran.beetlsql.common.ResultVo;
import com.moran.beetlsql.learn.service.UserLearnService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author wnf
 * @Date 2025-07-10
 */
@RestController
@RequestMapping("learn/")
public class UserLearnController {

    @Autowired
    private UserLearnService userLearnService;

    @RequestMapping("queryUserList")
    public ResultVo queryUserList() {
        return userLearnService.queryUserList();
    }
}
